package com.xy.decorator;

/**
 * @author 谢阳
 * @version 1.8.0_131
 * @date 2022/6/20 13:09
 * @description
 */
public abstract class Beverage {
    // 定义咖啡描述和价格
    protected String description = "Unknown Beverage";
    protected double price = 0.0;

    public String getDescription() {
        return description;
    }

    public double cost() {
        return price;
    }

}
